home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: Using C under LINUX / U*NIX
- Date: 14 Apr 1996 12:09:24 -0700
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4krih4INNies@keats.ugrad.cs.ubc.ca>
- References: <829500142.15879@greer.demon.co.uk>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <829500142.15879@greer.demon.co.uk>,
- Peter Hawkins <peter@greer.demon.co.uk> wrote:
- >
- >As I am fairly new to programming in C and come from a DOS background,
- >I would like to know if there is any information available on using C
- >in the U*NIX environment. I am particularily interested in accessing
- >serial devices, but any info on this subject would be welcome.
-
- _Advanced_Programming_in_the_UNIX_Environment_ by W. Richard Stevens, Addison
- Wesley, ISBN 0-201-56317-7.
-
- The comp.unix.programmer newsgroup should be useful to you, but comp.lang.c is
- for purely C language questions/answers and discussion.
-
- Serial programming under UNIX is normally done through a tty interface
- abstraction that is standardized by POSIX.1. The operating system provides full
- facilities for controlling the serial port so you should not need to play with
- the hardware directly (unless you are using the serial port to do something
- other than serial communications---in which case it is probably better to write
- a custom device driver for the operating system).
-